package servlet;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import validator.JqueryMethod;
import validator.Methods;
import validator.Validators;

/**
 * 初始化验证
 * @author heantai
 *
 */
public class InitServlet extends HttpServlet {

	@Override
	public void init(ServletConfig config) throws ServletException {
		super.init(config);
		JqueryMethod.init(Methods.class);
		Validators.init();
	}
}
